﻿@model HelloMVC.Model.LogInModel

@using (Html.BeginForm("LogIn", "Account", FormMethod.Post, new { @class="aui"}))
{
    <div style="margin-top: 20px;">
        <div class="field-group">
            @Html.LabelFor(m => m.UserName)
            @Html.TextBoxFor(m => m.UserName)
            @Html.ValidationMessageFor(m => m.UserName)
        </div>
        <div class="field-group">
            @Html.LabelFor(m => m.Password)
            @Html.PasswordFor(m => m.Password)
            @Html.ValidationMessageFor(m => m.Password)
         </div>

         <div class="group">
            @Html.CheckBoxFor(m => m.RememberMe)
            @Html.LabelFor(m => m.RememberMe)
         </div>
         <div class="buttons-container">
            <div  class="buttons">
                <input type="submit" value="Log In" />
                <span>Can't access your account?</span>
            </div>            
         </div>
    </div>
}
